package com.fzb.forum4j.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.fzb.forum4j.dao.api.IUserDetailsDao;
import com.fzb.forum4j.po.User;
import com.fzb.forum4j.po.UserDetails;
import com.fzb.forum4j.service.api.IUserDetailsService;
@Service("userDetailsServiceImpl")
public class UserDetailsServiceImpl extends BaseServiceImpl<UserDetails> implements
		IUserDetailsService {

	@Resource(name="userDetailsDaoImpl")
	private IUserDetailsDao userDetailsDao;
	@Override
	public UserDetails loadUserDetailsByUser(User user) {
		return userDetailsDao.loadUserDetailsByUser(user);
	}

}
